try {
    function getBlockNumber(seed) {
        result = doSomeSyncOperation(seed);
        return Promise.resolve(result);
    }

    function doSomeSyncOperation(seed) {
      // 模拟一个耗时2秒的操作
      console.log("doSomeSyncOperation start: %d",seed)
      const startTime1 = new Date().getTime();
      while (new Date().getTime() - startTime1 < 2000);
      console.log("doSomeSyncOperation done: %d",seed)
      return seed+100; // 假设这是接口返回的结果
    }

    startTime = new Date()
    Promise.all([
        getBlockNumber(1),
        getBlockNumber(2),
        getBlockNumber(3)
    ]).then((results) => {
        console.log(results); // [100, 100, 100]
        console.log("总时间：", new Date() - startTime, "ms");
    });
}catch (e){
    console.log(e)
}